package com.lenovo.testreport.user.model;

import java.io.Serializable;

/**
 * @author CJF
 * @date 2018/10
 */
public class Userinfo implements Serializable {
    private Integer uid;

    private String username;

    private String password;

    private Integer level;

    private String email;

    private Integer levelnum;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getLevelnum() {
        return levelnum;
    }

    public void setLevelnum(Integer levelnum) {
        this.levelnum = levelnum;
    }

    @Override
    public String toString() {
        return "Userinfo{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", level=" + level +
                ", email='" + email + '\'' +
                ", levelnum=" + levelnum +
                '}';
    }
}